package com.study.heartBeat;

import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;

/**
 * @ClassName: NettyHeartBeatClientHandler
 * @Description:
 * @Date 2024/04/30 11:17
 * @Author songshaoqiu
 **/
public class NettyHeartBeatClientHandler extends SimpleChannelInboundHandler<String> {
    @Override
    protected void channelRead0(ChannelHandlerContext channelHandlerContext, String s) throws Exception {
        System.out.println("读取【服务端】发送消息："+s);
    }
}
